package org.qf.entity;

/**
 * 对应的表 是stu_students表
 *
 * orm映射： 将表的字段映射为具体的实体类
 * 封装： 步骤：1. 属性私有化 2.生成get和set方法
 */
public class Student {
    private int sid;
    private String stuNum;
    private String stuName;
    private String stuGender;
    private int stuAge;
    public int getSid() {
        return sid;
    }
    public void setSid(int sid) {
        this.sid = sid;
    }
    public String getStuNum() {
        return stuNum;
    }
    public void setStuNum(String stuNum) {
        this.stuNum = stuNum;
    }
    public String getStuName() {
        return stuName;
    }
    public void setStuName(String stuName) {
        this.stuName = stuName;
    }
    public String getStuGender() {
        return stuGender;
    }
    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }
    public int getStuAge() {
        return stuAge;
    }
    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }
}